package com.xh.common.thread.ctl;

import android.os.HandlerThread;

public class ThreadInfo {

    private String mName;
    private int mPriority;
    private HandlerThread mThread;

    public ThreadInfo(String name, int priority) {
        mName = name;
        mPriority = priority;
    }

    public void setName(String name) {
        mName = name;
    }

    public String getName() {
        return mName;
    }

    public void setPriority(int priority) {
        mPriority = priority;
    }

    public int getPriority() {
        return mPriority;
    }

    public HandlerThread getThread() {
        return mThread;
    }

    public void setThread(HandlerThread thread) {
        mThread = thread;
    }

}
